package com.example.fresh_fruit.dto;

import com.example.fresh_fruit.entity.OrderDetails;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author :飞天の鱼
 * @date : 2022/8/22 9:24
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderDto {
    private int id;
    private String orderNo;

    //private long customerId;

    private Integer headId;
    private LocalDateTime overTime;
    private LocalDateTime time;
    private long state;
    private long orderState;
    private double orderMoney;
    List<OrderDetails> orderDetailsList;
}
